projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7dce89
)
libxl: vncviewer: fix use-after-free
author
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Fri, 4 Feb 2011 18:46:22 +0000
(18:46 +0000)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Fri, 4 Feb 2011 18:46:22 +0000
(18:46 +0000)
This bug can prevent xl vncviewer from working at all.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl.c
b/tools/libxl/libxl.c
index 9359f515be68bfe2384571cbee63b89a0b6cec82..0ca21e65db4ed047052f97cb58c289837bf247aa 100644
(file)
--- a/
tools/libxl/libxl.c
+++ b/
tools/libxl/libxl.c
@@
-848,9
+848,8
@@
int libxl_vncviewer_exec(libxl_ctx *ctx, uint32_t domid, int autopass)
}
skip_autopass:
- libxl__free_all(&gc);
libxl__exec(autopass_fd, -1, -1, args[0], args);
-
return 0
;
+
abort()
;
}
/******************************************************************************/